{% extends "base.html" %}

{% block title %}
职员管理-详情
{% endblock %}
{% block content %}
    <!-- Page Content -->
    <div id="page-wrapper">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">职员管理-详情</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="row">
                        <table class="table">


                            <tr>
                                <td>用户名</td>
                                <td>{{p.username}}</td>
                            </tr>
                            <tr>
                                <td>密码</td>
                                <td>{{p.password}}</td>
                            </tr>
                            <tr>
                                <td>昵称</td>
                                <td>{{p.nickname}}</td>
                            </tr>
                            <tr>
                                <td>性别</td>
                                <td>{{p.gender}}</td>
                            </tr>
                            <tr>
                                <td>年龄</td>
                                <td>{{p.age}}</td>
                            </tr>
                            <tr>
                                <td>工号</td>
                                <td>无</td>
                            </tr>
                            <tr>
                                <td>电话</td>
                                <td>无</td>
                            </tr>
                            <tr>
                                <td>邮箱</td>
                                <td>{{ p.email }}</td>
                            </tr>
                            <tr>
                                <td>照片</td>
                                <td>

                                    <div class="thumbnail">    
                                    <img src="/static/{{ p.photo }}" alt="">
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>地址</td>
                                <td>{{p.address}}</td>
                            </tr>
                            <tr>
                                <td>绩效</td>
                                <td>{{p.score}}</td>
                            </tr>
                            <tr>
                                <td>职位</td>
                                <td>{{p.our_position.p_name}}</td>
                            </tr>
                            <tr>
                                <td>部门</td>
                                <td>{{p.our_position.p_depart.d_name}}</td>
                            </tr>

                        </table>
                    </div>
                </div>
                <!-- /.col-lg-12 -->
            </div>
        </div>
        <!-- /.container-fluid -->
    </div>
    <!-- /#page-wrapper -->
{% endblock %}